<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<div id="join_page">
	<header>
		<div id="title">
			<b>[회원 가입]</b>
		</div>
		
		<div id="bar">
		</div>
	</header>
	
	<section id="join_form">
		<form:form id="join" action="memberjoin" modelAttribute="member">
			<fieldset>
				<legend>사용자 기본정보</legend> 
				<label>사용자 ID</label> 
					<select name=seqId>
     					<option value="S0000000">학생</option>
     					<option value="E0000000">연구원</option>
     					<option value="T0000000">강사</option>
     				</select>
					<form:input path="userid" type="text" class="id" /> 
					<input name="b_checkdup" type="button" value="중복체크" class="dup" /><br>
				<label>패스워드</label> <form:input path="password" type="password" class="pass" /><br>
				<label>패스워드(재입력)</label> <form:input path="password" type="password" class="pass" /><br>
				<label>이름</label> <form:input path="username" type="text" class="name" /><br>
				<label>성별</label> 
					<input type=radio name=gender value="m" checked="checked"> 남자     
     				<input type=radio name=gender value="f"> 여자<br>
				<label>생년월일</label> <form:input path="birth" type="text" class="birth" /><br>
				<label>연락처</label> <form:input path="phonenumber1" type="tel" class="phone" /><br>
				<label>이메일</label> <form:input path="email" type="email" class="email" /><br>
			</fieldset>
			
			<fieldset>
				<legend>사용자 (추가정보)</legend>
				<label>대학교</label> <form:input path="university" type="tel" class="university" /><br>
				<label>전공</label> <form:input path="major" type="tel" class="major" /><br>
				<label>졸업연도</label> <form:input path="graduate" type="tel" class="graduate" /><br>
				<label>주소</label> <form:input path="address" type="text" class="address" /><br>
			</fieldset>	
			
			<div class="clear"></div>
			<div id="buttons">
				<input name="b_submit" type="submit" value="Submit" class="submit" > 
				<input name="b_cancel" type="button" value="Cancel" class="cancel">
			</div>
		</form:form>
	</section>
</div>